package com.fengmi.uc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhuxm
 * @since 2022-03-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 结算ID
     */
    @TableId(value = "um_id", type = IdType.AUTO)
    private Integer umId;

    /**
     * 会员ID
     */
    private String userId;

    /**
     * 订单结算金额
     */
    private Double orderMoney;

    /**
     * 邀请奖励金额
     */
    private Double visitMoney;

    /**
     * 应返款金额
     */
    private Double ownMoney;

    /**
     * 状态 0 未支付 1 已支付
     */
    private Integer state;

    /**
     * 结算返款时间
     */
    private Date createtime;

    /**
     * 订单流水号
     */
    private String ocid;


}
